import com.yaowk.sfp.utils.generator.Generator;

/**
 * @author 小凯
 **/
public class SlideshowGenerator {

    public static void main(String[] args) throws Exception {
        Generator generator = new Generator("com.yaowk.sfp.slideshow.server.entity");
        generator.setEntityPrefix("Yk");
        generator.setDaoInit("com.yaowk.sfp.slideshow.server.dao", null);
        generator.setModelBaseInit("com.yaowk.sfp.slideshow.api.model.base", "/../slideshow-api/src/main/java/");
        generator.setModelInit("com.yaowk.sfp.slideshow.api.model", "/../slideshow-api/src/main/java/");
        generator.setServiceInit("com.yaowk.sfp.slideshow.server.service", "/../slideshow-api/src/main/java/");
        generator.setServiceBaseInit("com.yaowk.sfp.slideshow.server.service.base", null);
        generator.setServiceImplInit("com.yaowk.sfp.slideshow.server.service.impl", null);

        generator.generator();
    }
}
